package cn.b.sky.message.model.condition;

import cn.b.sky.common.model.Page;

import java.text.SimpleDateFormat;
import java.util.Date;

public class InstantMessageCondition extends Page {
  private String siteCode;//工厂

  private String readFlag;//是否已读标志

  private String fromTimeStr;//起始时间

  private String toTimeStr;//截止时间

  private Date fromTime;//起始时间

  private Date toTime;//截止时间

  private String userCode;//用户代码

  SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");

  @Override
  public String getSiteCode() {
    return siteCode;
  }

  @Override
  public void setSiteCode(String siteCode) {
    this.siteCode = siteCode;
  }

  public Date getFromTime() {
    return fromTime;
  }

  public void setFromTime(Date fromTime) {
    this.fromTime = fromTime;
  }

  public Date getToTime() {
    return toTime;
  }

  public void setToTime(Date toTime) {
    this.toTime = toTime;
  }

  public String getFromTimeStr() {
    return fromTimeStr;
  }

  public void setFromTimeStr(String fromTimeStr) {
    this.fromTimeStr = fromTimeStr;
  }

  public String getToTimeStr() {
    return toTimeStr;
  }

  public void setToTimeStr(String toTimeStr) {
    this.toTimeStr = toTimeStr;
  }

  public String getUserCode() {
    return userCode;
  }

  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }

  public String getReadFlag() {
    return readFlag;
  }

  public void setReadFlag(String readFlag) {
    this.readFlag = readFlag;
  }

}
